import { combineReducers, createStore } from 'redux';
import menuReducer from './reducers/menuReducer';
import todoReducer from './reducers/todoReducer';

const reducers = combineReducers({
  menu: menuReducer,
  todo: todoReducer
});

const store = createStore(reducers);

export default store;
